import React from 'react'
import { Toast, NavBar } from 'react-vant'
import { useNavigate } from 'react-router-dom'
import { Empty } from 'react-vant';
function index() {

    const navigate = useNavigate()
    return (
        <div>
            <div onClick={() => navigate('/butler')}>
                <NavBar
                    title='血压管理'
                    onClickLeft={() => navigate(-1)}
                    rightText="+血压记录"
                    onClickRight={() => Toast('按钮')}
                />
            </div>

            <Empty
                className="custom-image"
                imageSize={90}
                description="您还没购买血压服务"
            />
        </div>
    )
}

export default index